
package com.sforce.soap.enterprise.sobject;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>sObject complex typeのJavaクラス。
 * 
 * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。
 * 
 * <pre>
 * &lt;complexType name="sObject">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="fieldsToNull" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="Id" type="{urn:enterprise.soap.sforce.com}ID"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sObject", propOrder = {
    "fieldsToNull",
    "id"
})
@XmlSeeAlso({
    ProcessInstanceNode.class,
    ApexTestResult.class,
    ApexTestResultLimits.class,
    AuthSession.class,
    UserProvAccountStaging.class,
    SFGATextAdC.class,
    ProcessInstanceWorkitem.class,
    CaseFeed.class,
    TestSuiteMembership.class,
    Approval.class,
    SocialPersonaHistory.class,
    EntityParticle.class,
    StreamingChannel.class,
    WorkBadge.class,
    AssignmentRule.class,
    NetworkModeration.class,
    PricebookEntry.class,
    Note.class,
    Product2History.class,
    GroupMember.class,
    EntitlementHistory.class,
    LeadHistory.class,
    SFGAVersion3303C.class,
    QuestionDataCategorySelection.class,
    SocialPostHistory.class,
    SFGAKeywordC.class,
    ContentVersion.class,
    DataType.class,
    MacroHistory.class,
    AuraDefinitionBundle.class,
    InvoiceShare.class,
    QuickText.class,
    ObjectPermissions.class,
    CollaborationGroupMemberRequest.class,
    MilestoneType.class,
    Publisher.class,
    CaseTeamTemplateMember.class,
    ContactFeed.class,
    ContractInformationShare.class,
    SetupAuditTrail.class,
    ApexTestSuite.class,
    ContentDocumentFeed.class,
    Holiday.class,
    TestCustomObjectC.class,
    UserPackageLicense.class,
    ApexComponent.class,
    NamedCredential.class,
    WorkOrderLineItem.class,
    SetupEntityAccess.class,
    FlexQueueItem.class,
    Attachment.class,
    ListView.class,
    CaseTeamMember.class,
    FiscalYearSettings.class,
    FeedComment.class,
    UserLogin.class,
    AdditionalNumber.class,
    CaseShare.class,
    RecentlyViewed.class,
    ChatterAnswersReputationLevel.class,
    OrgWideEmailAddress.class,
    Faq2C.class,
    ProcessInstance.class,
    CampaignPlanC.class,
    PartnerRole.class,
    ContentDistribution.class,
    SFGAAdGroupC.class,
    OpportunityFieldHistory.class,
    BackgroundOperation.class,
    PermissionSetLicenseAssign.class,
    CreditCouponHistoryC.class,
    ProcessInstanceStep.class,
    ProductEntitlementTemplate.class,
    Opportunity.class,
    ApexTrigger.class,
    OauthToken.class,
    StreamingChannelShare.class,
    Report.class,
    AWSInvoiceSummaryC.class,
    BusinessHours.class,
    CustomBrandAsset.class,
    NetworkActivityAudit.class,
    StaticResource.class,
    ContactHistory.class,
    SearchLayout.class,
    AssetHistory.class,
    ContentDocument.class,
    OpportunityPartner.class,
    ApexTestRunResult.class,
    OutgoingEmail.class,
    UserRole.class,
    WorkOrderFeed.class,
    ReportFeed.class,
    Entitlement.class,
    Community.class,
    OpenActivity.class,
    BusinessProcess.class,
    ContactMemberC.class,
    ContractInformationC.class,
    StepKav.class,
    CreditCouponC.class,
    FeedAttachment.class,
    AuthConfig.class,
    UserEntityAccess.class,
    ListViewChartInstance.class,
    WorkOrder.class,
    RelationshipInfo.class,
    ClientBrowser.class,
    Asset.class,
    UserPreference.class,
    CampaignMember.class,
    AccountContactRole.class,
    Pricebook2 .class,
    NavigationLinkSet.class,
    FAQDataCategorySelection.class,
    CallCenter.class,
    WorkBadgeDefinitionHistory.class,
    CaseStatus.class,
    ChatterActivity.class,
    UserListViewCriterion.class,
    Organization.class,
    Product2 .class,
    MiscellaneousExpensesPlanC.class,
    ActivityHistory.class,
    ExternalDataUserAuth.class,
    Folder.class,
    ContentFolderItem.class,
    Profile.class,
    ReplyReportAbuse.class,
    CaseTeamTemplate.class,
    ServiceContractFeed.class,
    UserListView.class,
    FileSearchActivity.class,
    FeedPollChoice.class,
    EmbeddedServiceDetail.class,
    Solution.class,
    AssetFeed.class,
    WorkOrderHistory.class,
    NetworkSelfRegistration.class,
    AuthConfigProviders.class,
    AuthProvider.class,
    CaseTeamRole.class,
    TaskStatus.class,
    FAQKav.class,
    UserRecordAccess.class,
    WebLink.class,
    StepVoteStat.class,
    SlaProcess.class,
    CollaborationGroup.class,
    Task.class,
    PlatformCachePartition.class,
    ContractLineItemHistory.class,
    ExternalDataSource.class,
    ContractContactRole.class,
    FeedItem.class,
    ThirdPartyAccountLink.class,
    ContractRelationInformationC.class,
    FolderedContentDocument.class,
    OpportunityFeed.class,
    OwnerChangeOptionInfo.class,
    AuraDefinitionInfo.class,
    UserProvisioningRequest.class,
    CustomBrand.class,
    ContractLineItem.class,
    EntitlementContact.class,
    WorkOrderLineItemHistory.class,
    UserShare.class,
    PermissionSet.class,
    StepViewStat.class,
    SiteFeed.class,
    NetworkPageOverride.class,
    QuestionReportAbuse.class,
    CaseResponseShare.class,
    UserAppMenuCustomizationShare.class,
    LinkedArticleFeed.class,
    FAQVoteStat.class,
    KnowledgeableUser.class,
    CustomObjectUserLicenseMetrics.class,
    ContentDistributionView.class,
    NoteAndAttachment.class,
    AppMenuItem.class,
    LeadStatus.class,
    SolutionHistory.class,
    RecordType.class,
    EmailMessageRelation.class,
    CampaignGroupC.class,
    Topic.class,
    TopicFeed.class,
    QuestionSubscription.class,
    BrandTemplate.class,
    LoginIp.class,
    OtherContactC.class,
    ApexLog.class,
    OrderFeed.class,
    TopicAssignment.class,
    CspTrustedSite.class,
    CaseSolution.class,
    ContractHistory.class,
    CaseContactRole.class,
    SearchPromotionRule.class,
    Document.class,
    OrderItemHistory.class,
    KnowledgeArticleViewStat.class,
    RelationshipDomain.class,
    FeedLike.class,
    UserAppInfo.class,
    CampaignGroupRelationInformationC.class,
    Pricebook2History.class,
    VolumingGroupC.class,
    FAQViewStat.class,
    MailmergeTemplate.class,
    UsageHistoryC.class,
    CronTrigger.class,
    ContentDocumentHistory.class,
    StampAssignment.class,
    TodayGoalShare.class,
    UserAppMenuItem.class,
    UserProvisioningRequestShare.class,
    UserProvisioningConfig.class,
    Product2Feed.class,
    AccountPartner.class,
    QueueSobject.class,
    ApexClass.class,
    SelfServiceUser.class,
    EntitlementTemplate.class,
    FeedPollVote.class,
    LinkedArticle.class,
    Group.class,
    FieldPermissions.class,
    Announcement.class,
    CaseMilestone.class,
    PicklistValueInfo.class,
    AccountFeed.class,
    KnowledgeArticleVoteStat.class,
    DeclinedEventRelation.class,
    ApexEmailNotification.class,
    SocialPost.class,
    CaseArticle.class,
    FlowInterview.class,
    NetworkMember.class,
    EntityMilestone.class,
    WorkOrderShare.class,
    EventRelation.class,
    Question.class,
    KnowledgeArticle.class,
    WorkAccess.class,
    IdeaComment.class,
    MiscellaneousExpensesGroupC.class,
    ProcessInstanceHistory.class,
    UserProvAccount.class,
    AuraDefinition.class,
    PlatformCachePartitionType.class,
    AcceptedEventRelation.class,
    ReputationPointsRule.class,
    OrderShare.class,
    DataStatistics.class,
    WorkBadgeDefinitionFeed.class,
    ReputationLevel.class,
    WorkBadgeDefinitionShare.class,
    EntityDefinition.class,
    QuickTextHistory.class,
    CollaborationGroupRecord.class,
    EventFeed.class,
    OpportunityStage.class,
    ActionLinkGroupTemplate.class,
    UserFieldAccess.class,
    WorkBadgeDefinition.class,
    Event.class,
    Reply.class,
    EntitlementFeed.class,
    Faq2Feed.class,
    BillingDetailC.class,
    ContentFolderMember.class,
    TodayGoal.class,
    TaskPriority.class,
    OpportunityLineItem.class,
    Dashboard.class,
    AuraDefinitionBundleInfo.class,
    UserLicense.class,
    OpportunityHistory.class,
    ContentDocumentLink.class,
    SFGAGoogleCampaignC.class,
    Name.class,
    InvoiceC.class,
    EmailServicesFunction.class,
    OpportunityShare.class,
    SolutionStatus.class,
    ServiceContractHistory.class,
    ContractInformationHistory.class,
    FeedTrackedChange.class,
    Campaign.class,
    TaxGroupC.class,
    EmailTemplate.class,
    InstalledMobileApp.class,
    SiteHistory.class,
    Domain.class,
    UserAppMenuCustomization.class,
    CategoryData.class,
    SolutionFeed.class,
    SequencialNumberManagementC.class,
    MacroInstruction.class,
    OrderItemFeed.class,
    DuplicateRecordItem.class,
    ContractStatus.class,
    CaseComment.class,
    PricingGroupC.class,
    UserCustomBadge.class,
    EmailDomainKey.class,
    CampaignFeed.class,
    ServiceContract.class,
    DomainSite.class,
    PricingPlanC.class,
    SearchActivity.class,
    NetworkMemberGroup.class,
    ApexPage.class,
    CampaignShare.class,
    OutgoingEmailRelation.class,
    SecureAgentsCluster.class,
    ContractRelationInformationShare.class,
    ContactShare.class,
    MatchingRule.class,
    PlatformAction.class,
    Account.class,
    LeadShare.class,
    CustomPermissionDependency.class,
    AttachedContentDocument.class,
    ForecastShare.class,
    PushTopic.class,
    Scontrol.class,
    Network.class,
    ActionLinkTemplate.class,
    CronJobDetail.class,
    CollaborationInvitation.class,
    CollaborationGroupMember.class,
    LoginGeo.class,
    Vote.class,
    StepKa.class,
    EmailServicesAddress.class,
    StepDataCategorySelection.class,
    PayerAccountC.class,
    EntitySubscription.class,
    Idea.class,
    NavigationMenuItem.class,
    WorkThanks.class,
    Contract.class,
    ExternalSocialAccount.class,
    LinkedArticleHistory.class,
    EventLogFile.class,
    Site.class,
    BillingInformationC.class,
    CombinedAttachment.class,
    AssetTokenEvent.class,
    Case.class,
    PermissionSetAssignment.class,
    ConnectedApplication.class,
    OwnedContentDocument.class,
    Lead.class,
    DuplicateRecordSet.class,
    AsyncApexJob.class,
    Partner.class,
    UserProvisioningLog.class,
    MacroShare.class,
    ApexTestQueueItem.class,
    AWSInvoiceC.class,
    EmailCapture.class,
    Stamp.class,
    FeedRevision.class,
    SFGASearchPhraseC.class,
    BillingAlertConfigC.class,
    DocumentAttachmentMap.class,
    SecurityCustomBaseline.class,
    WorkAccessShare.class,
    KnowledgeArticleVersionHistory.class,
    CategoryNode.class,
    TenantUsageEntitlement.class,
    OrderItem.class,
    ApexPageInfo.class,
    TaskFeed.class,
    FieldDefinition.class,
    ProcessNode.class,
    CaseTeamTemplateRecord.class,
    ProcessDefinition.class,
    SocialPostShare.class,
    VerificationHistory.class,
    CustomPermission.class,
    ContentFolder.class,
    DuplicateRule.class,
    AggregateResult.class,
    AccountHistory.class,
    SocialPersona.class,
    ServiceMasterC.class,
    CorsWhitelistEntry.class,
    OrderHistory.class,
    CaseHistory.class,
    FlowInterviewShare.class,
    QuickTextShare.class,
    LookedUpFromActivity.class,
    Order.class,
    PackageLicense.class,
    EmailMessage.class,
    CampaignMemberStatus.class,
    Period.class,
    WorkOrderLineItemFeed.class,
    GrantedByLicense.class,
    FAQKa.class,
    ContentAsset.class,
    LoginHistory.class,
    ChatterAnswersActivity.class,
    TestRCustomObjectC.class,
    WorkThanksShare.class,
    ExchangeRateC.class,
    DashboardComponent.class,
    OpportunityCompetitor.class,
    UserProvMockTarget.class,
    SubContractInformationC.class,
    CaseResponseC.class,
    User.class,
    Macro.class,
    DatacloudAddress.class,
    SamlSsoConfig.class,
    ServiceContractShare.class,
    KnowledgeArticleVersion.class,
    SocialPostFeed.class,
    CollaborationGroupFeed.class,
    UserFeed.class,
    VolumingPlanC.class,
    ContractFeed.class,
    DashboardFeed.class,
    OpportunityContactRole.class,
    ContentVersionHistory.class,
    PermissionSetLicense.class,
    LeadFeed.class,
    Contact.class,
    UndecidedEventRelation.class,
    TaxPlanC.class,
    DashboardComponentFeed.class,
    AccountShare.class,
    MatchingRuleItem.class,
    ListViewChart.class
})
public class SObject {

    @XmlElement(nillable = true)
    protected List<String> fieldsToNull;
    @XmlElement(name = "Id", required = true, nillable = true)
    protected String id;

    /**
     * Gets the value of the fieldsToNull property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the fieldsToNull property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getFieldsToNull().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getFieldsToNull() {
        if (fieldsToNull == null) {
            fieldsToNull = new ArrayList<String>();
        }
        return this.fieldsToNull;
    }

    /**
     * idプロパティの値を取得します。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * idプロパティの値を設定します。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String value) {
        this.id = value;
    }

}
